
<html lang="en" class="no-js" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="layout">
<head>
<title>广告列表管理</title>

</head>
<body>
	<div layout:fragment="content">

		<div class="row">
			<div class="table-toolbar col-md-12">
				<div class="table-toolbar col-md-12">
					<div class="btn-group pull-right"><a href="edit.html" th:href="@{/advertisement/adsList/add}" id="Link_add" class="btn green">添加广告<i class="fa fa-plus"></i></a></div>
				</div>
				<div class="col-md-15 col-sm-13">
			
					<form class="form-inline" th:action="@{/advertisement/adsList/index}" th:object="${advertiseSearch}"   method="post">
					
						<div class="form-group">
						    <label class="sr-only" for="articlename">广告名称</label>
							<input type="text" name="adName" th:field="*{adName}" style="width:200px;" placeholder="广告名称"   id="adName" class="form-control" />
						</div> 
						<div class="form-group">
				            <select id="adPositionNameById" name="adPositionNameById"  style="width:180px;" th:remove="none" class="form-control">
				            	<option value="">所有广告位</option>
				               <option th:each="eachValue : ${adPositionNames}" th:field="*{adPositionNameById}" th:value="${eachValue.id}"   th:text="${eachValue.adPositionName}"></option> 
				            </select>
				            <input type="hidden" id="hidden_adPositionNameById" th:value="${adPositionNameById}" /> 														
						</div>		
												
						<button type="submit" id="bt_search" name="bt_search" class="btn green">
							<i class="fa  fa-search"></i>
						</button>
					</form>
				</div>
			</div>
		</div>

		<div class="row">
			<div class="col-md-12">
				<div id="div_advertise_list" th:include="advertisement/adsList/adslist_table">
                   
				</div>
			</div>
		</div>
	</div>
</body>
</html>


